<template>
	<view class="box">
		<view class="list" v-if="list.length">
			<view class="card" v-for="(item,index) of list" :key="index">
				<view class="one f28 bold fw-bt">
					<view>订单号:  {{item.order_no}}</view>
					<view class="green f32">-{{item.num}}</view>
				</view>
				<view class="two f24 c999">{{item.time}}</view>
			</view>
		</view>
		<view class="none tr" style="padding: 30rpx;" v-else>
			暂无使用记录~
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list:[
					{
						order_no:'151455785224584',
						time:'2021-11-25  15:38:40',
						num:10,
					},
					{
						order_no:'151455785224584',
						time:'2021-11-25  15:38:40',
						num:10,
					}
				]
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
	.box{
		.green{
			color: #109C7A;
		}
		.list{
			padding: 0 30rpx 30rpx;
			.card{
				padding: 30rpx 0;
				border-bottom: 1rpx solid #eee;
				.two{
					margin-top: 10rpx;
				}
			}
		}
	}
</style>
